//
//  HMSaveViewController.m
//  G05爱鲜蜂
//
//  Created by 小灰灰 on 16/10/16.
//  Copyright © 2016年 何源. All rights reserved.
//

#import "HMSaveViewController.h"

@interface HMSaveViewController ()

@end

@implementation HMSaveViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setUI];
    self.view.backgroundColor = RGBColor(224, 224, 224);

}
-(void)setUI{
    self.navigationItem.title = @"我的店铺";
    UIImageView *emptyImageView = [[UIImageView alloc] initWithFrame:self.view.frame];
    [self.view addSubview:emptyImageView];
    //高斯模糊
    UILabel *emptyLabel = [[UILabel alloc] init];
    emptyLabel.text = @"还没有收藏的店铺呦~";
    emptyLabel.textAlignment = NSTextAlignmentCenter;
    emptyLabel.font = [UIFont systemFontOfSize:14];
    emptyLabel.textColor = [UIColor blackColor];
    [emptyImageView addSubview:emptyLabel];
    [emptyLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(emptyImageView).offset(-60);
        make.centerX.equalTo(emptyImageView);
    }];
    
    UIImageView *shopImageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"v2_store_empty"]];
    [emptyImageView addSubview:shopImageView];
    [shopImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(emptyImageView);
        make.bottom.equalTo(emptyLabel.mas_top).offset(-20);
    }];
}

@end
